package com.taplinker.client.im.db;

import java.util.Date;
import java.util.List;

import com.taplinker.client.im.protocol.ConsultEntriy;

/**
 * 会话
 * @author zgwang
 *
 */
public class Conversation {
	private String id;
	private ConsultEntriy entriy;
	
	private Date updateDate;
	
	private String lastMessage;
	
	private String messageType;

    private String csIsLastsayer; 
    
	//apppkey
    private String appName;
    
    //未读消息数量
    private long unread;
    
    //客服昵称
    private String csname;
    
    //客服头像
    private String csicon;
    
    private List<Message> message;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public ConsultEntriy getEntriy() {
		return entriy;
	}

	public void setEntriy(ConsultEntriy entriy) {
		this.entriy = entriy;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getLastMessage() {
		return lastMessage;
	}

	public void setLastMessage(String lastMessage) {
		this.lastMessage = lastMessage;
	}

	public String getMessageType() {
		return messageType;
	}

	public void setMessageType(String messageType) {
		this.messageType = messageType;
	}

	public String getCsIsLastsayer() {
		return csIsLastsayer;
	}

	public void setCsIsLastsayer(String csIsLastsayer) {
		this.csIsLastsayer = csIsLastsayer;
	}

	public String getAppName() {
		return appName;
	}

	public void setAppName(String appName) {
		this.appName = appName;
	}

	public long getUnread() {
		return unread;
	}

	public void setUnread(long unread) {
		this.unread = unread;
	}

	public String getCsname() {
		return csname;
	}

	public void setCsname(String csname) {
		this.csname = csname;
	}

	public String getCsicon() {
		return csicon;
	}

	public void setCsicon(String csicon) {
		this.csicon = csicon;
	}

	public List<Message> getMessage() {
		return message;
	}

	public void setMessage(List<Message> message) {
		this.message = message;
	}
}
